package playground.fibu.ejb.dao;

import java.util.Date;
import java.util.List;

import playground.fibu.ejb.entity.Booking;

public interface BookingDAO {

	public void save(Booking booking) throws FibuDAOException;
	public void delete(Booking booking) throws FibuDAOException;
	public List<Booking> findAll() throws FibuDAOException;
	public Booking findByPrimaryKey(long id) throws FibuDAOException;
	public List<Booking> findByDate(Date date) throws FibuDAOException;
}
